#ifndef END_POINT_MARKER_H
#define END_POINT_MARKER_H

#include "PlotModel.h"

#include "qwt_plot_marker.h"
#include "qwt_scale_map.h"

/// <summary>
/// Klasa z ktorej rysowana jest linia do drugiego punktu
/// </summary>
class EndPointMarker: public QwtPlotMarker
{
public:
	EndPointMarker(PlotModel *);
	
	void drawAt(QPainter *, const QRectF &, const QPointF &) const;
	virtual void draw(QPainter *, const QwtScaleMap &, const QwtScaleMap &, const QRectF &) const;

private:
	PlotModel *_model;
};




#endif